// 首页类型定义

export interface User {
  username?: string
  avatar?: string
  bio?: string
  siteTitle?: string
  siteSubtitle?: string
}

export interface Article {
  id: number
  title: string
  content: string
  category?: string
  tags?: string[] | string
  views?: number
  likes?: number
  createdAt?: string
  updatedAt?: string
  excerpt?: string
  coverImage?: string
  readTime?: number
  date?: string
}

export interface BlogStats {
  totalPosts: number
  totalCategories: number
  totalTags: number
} 